<div class="modal-header">
    <button type="button" class="close" (click)="dialogRef.close()">&times;</button>
    <h4 class="modal-title">警告</h4>
</div>
<div class="modal-body">
  {{messgae}}
</div>
<div class="modal-footer">
   <button class="btn btn-success"  (click)="confirm(true)">确定</button>
   <button class="btn btn-cancel"  (click)="confirm(false)">取消</button>
</div>